package com.taxi.remote;

import com.taxi.request.OrderRequest;
import com.taxi.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("service-order")
public interface ServiceOrderClient {

    @PostMapping("/order/pay")
    public Result pay(@RequestBody OrderRequest orderRequest);
}
